use yew::{function_component, html, Children, Html, Properties};

#[derive(Properties, PartialEq)]
pub struct PopOverProps {
    pub children: Children,
}

#[function_component(PopOver)]
pub fn pop_over(props: &PopOverProps) -> Html {

    html! {
        <div class="popover">
            { for props.children.iter() }
        </div>
    }
}